<?php  $_order = $this->getOrder() ?>
<a href="<?php echo $this->getPrintUrl($_order) ?>" class="link-print" onclick="this.target='_blank';"><?php echo $this->__('Print Order') ?></a>
<?php if($this->helper('rss/order')->isStatusNotificationAllow()): ?>
    <a href="<?php echo $this->helper('rss/order')->getStatusHistoryRssUrl($_order) ?>" class="link-rss f-none"><?php echo $this->__('Subscribe to Order Status') ?></a>

<?php endif; ?>
<?php if ($this->helper('sales/reorder')->canReorder($_order)) : ?>
    <a href="<?php echo $this->getReorderUrl($_order) ?>" class="link-reorder"><?php echo $this->__('Reorder') ?></a>
 
<?php endif ?>
<?php if ($this->helper('cancelorder/customer')->canCancel($_order)) : ?>
    <a href="<?php echo $this->getUrl('sales/order/cancel', array('order_id' => $_order->getId())) ?>" class="link-cancel"><?php echo $this->__('Cancel') ?></a>

<?php endif ?>
<?php if ($this->helper('orderrepayment')->repayorder($_order)) : ?>
    <a href="<?php echo $this->getUrl('orderrepayment/repayment/repay', array('order_id' => $_order->getId())) ?>" class="link-repay"><?php echo $this->__('Pay Now') ?></a>
<?php endif ?>
<?php if ($this->helper('customerextension/invoice')->canPrintPdf($_order)) : ?>
    <a href="javascript:void(0);" class="link-print" onclick="
	setLocation('<?php echo $this->getUrl('customerextension/customer/printinvoicepdf', array('order_id' => $_order->getId()))?>')">
	<?php echo $this->__('Print Invoice') ?></a>
<?php endif ?>

<?php echo $this->getChildHtml(); ?>
